package com.example.demo.entity;

import lombok.Data;

@Data
public class PersonRelationship {
    private Long id;
    private Long personId1;
    private Long personId2;
    private String relationshipType;

    @Override
    public String toString() {
        return "PersonRelationship{" +
                "id=" + id +
                ", personId1=" + personId1 +
                ", personId2=" + personId2 +
                ", relationshipType='" + relationshipType + '\'' +
                '}';
    }
}